package entity;

import java.io.Serializable;

/**
 * @author Ajie
 * @date 4/30/21
 * @function todo 在 src中，没有在 package中 冲突时，别的包没法引入。IDE 提示无法导入。
 */
public class Person  implements Serializable {

    public static void test(){}
    public String name;
    public int age;

    public Person() {
    }

    public Person(String name) {
        this.name = name;
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
